cmake_minimum_required(VERSION 2.6)
include_directories ( ../)
#LINK_DIRECTORIES(../bin)
set(COMPILE_FLAGS debug)
#link_libraries(pthread thread)
#SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
SET(LIBRARY_OUTPUT_PATH ../bin)
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES CMakeFiles )
SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS}  -O0 -Wall -g -ggdb")
SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -s  -O3 -Wall")
set(CMAKE_BUILD_TYPE Debug)
AUX_SOURCE_DIRECTORY(. SRC)
add_library(share SHARED ${SRC})
add_subdirectory(testcallback)
